package com.twu.biblioteca;

/**
 * Created by Janu on 21/06/14.
 * Class: Check out movie
 */

public class CheckOutMovie extends Option {

    CheckOutMovie(OptionManager optionManager){ this.optionManager = optionManager; }


    @Override
    String doSomething(Customer customer) {

        return optionManager.getCheckOutMovie(customer, optionManager.getBookOrMovieCodeFromUser());
    }
}
